//
//  XURefresh.m
//  新浪微博
//
//  Created by xuwenxin on 15-4-16.
//  Copyright (c) 2015年 xuwenxin. All rights reserved.
//

#import "XURefresh.h"

@interface XURefresh ()

@property (nonatomic, weak) UIView *vc;

@end

@implementation XURefresh

- (void)awakeFromNib
{
    UIView *vc = [[UIView alloc] init];
    vc.size = CGSizeMake(300, 50);
    self.vc.centerY = 200;
    vc.backgroundColor = [UIColor redColor];
    self.vc = vc;
    [self addSubview:vc];
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.vc.centerX = self.centerX;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
@end
